package com.xl.generator.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xl.generator.domain.CommunityPost;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xl.generator.dto.CommunityPostDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
* @author Nannan
* @description 针对表【community_post】的数据库操作Service
* @createDate 2022-11-12 22:31:50
*/
public interface CommunityPostService extends IService<CommunityPost> {

    List<CommunityPostDto> getPostList(IPage page , int parentId);

}
